package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 电池回购登记表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_battery_register")
@ApiModel(value = "XhMemberBatteryRegister对象", description = "电池回购登记表")
public class XhMemberBatteryRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer memberId;

    @ApiModelProperty("电池id")
    private Integer batteryId;

    @ApiModelProperty("电池编号")
    private String batteryNo;

    @ApiModelProperty("购买时间")
    private Date buyTime;

    @ApiModelProperty("电池型号描述")
    private String batteryInfoMsg;

    @ApiModelProperty("（废弃）电池描述")
    private String batteryDescribe;

    @ApiModelProperty("（废弃）是否换电 0不换电 1换电")
    private Integer isChangeBattery;

    @ApiModelProperty("电池名称")
    private String batteryName;

    @ApiModelProperty("回购订单id")
    private Integer repurchaseId;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
